package com.demo.chain;

import lombok.extern.slf4j.Slf4j;
import net.hasor.dataway.spi.LoginPerformChainSpi;
import net.hasor.web.Invoker;

/**
 * @Classname LoginTokenChain
 * @Description 登录校验
 * @Date 2023/8/4 14:03
 * @Created by Leo825
 */
@Slf4j
public class LoginPerformChain implements LoginPerformChainSpi {

    public static LoginPerformChain getInstance() {
        return new LoginPerformChain();
    }

    @Override
    public boolean doLogin(Invoker invoker) {
        return true;
    }
}
